package com.iuweb.login.model;

import java.util.List;

public class Menu {
	private String id;
	private String menuId;
	private String menuName;
	private String menuUrl;
	private String parentId;
	private String icon;
	private String order;
	private List<Menu> childMenus;

	public Menu() {
		super();
	}

	public Menu(String id, String menuId, String menuName, String menuUrl, String parentId, String icon, String order, List<Menu> childMenus) {
		this.id = id;
		this.menuId = menuId;
		this.menuName = menuName;
		this.menuUrl = menuUrl;
		this.parentId = parentId;
		this.icon = icon;
		this.order = order;
		this.childMenus = childMenus;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMenuId() {
		return menuId;
	}

	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getMenuUrl() {
		return menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public List<Menu> getChildMenus() {
		return childMenus;
	}

	public void setChildMenus(List<Menu> childMenus) {
		this.childMenus = childMenus;
	}

	@Override
	public String toString() {
		return "Menu{" +
				"id='" + id + '\'' +
				", menuId='" + menuId + '\'' +
				", menuName='" + menuName + '\'' +
				", menuUrl='" + menuUrl + '\'' +
				", parentId='" + parentId + '\'' +
				", icon='" + icon + '\'' +
				", order='" + order + '\'' +
				", childMenus=" + childMenus +
				'}';
	}
}
